package 第十章作业.O610;

public class Bank {
    public static void getMoney(int out) throws BankException{
        if (out % 100 == 0){
            System.out.println(out);
        }
        else{
            throw new BankException(out+"不是有效值");
        }
    }
}
